<?php
require("c:/php5/includes/adodb/adodb.inc.php");	

$server   = "localhost";
$usuario  = "postgres";
$senha    = "senha";
$database = "banco";

$DB = NewADOConnection('postgres');
$DB->Connect($server,$usuario,$senha,$database) or die("Erro ao Conectar");
?>